﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DebuggerStepThrough, DesignerCategory("code"), XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152")]
    public class PTZPresetTourStartingCondition
    {
        private XmlAttribute[] anyAttrField;
        private PTZPresetTourDirection directionField;
        private bool directionFieldSpecified;
        private PTZPresetTourStartingConditionExtension extensionField;
        private string recurringDurationField;
        private int recurringTimeField;
        private bool recurringTimeFieldSpecified;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=2)]
        public PTZPresetTourDirection Direction
        {
            get
            {
                return this.directionField;
            }
            set
            {
                this.directionField = value;
            }
        }

        [XmlIgnore]
        public bool DirectionSpecified
        {
            get
            {
                return this.directionFieldSpecified;
            }
            set
            {
                this.directionFieldSpecified = value;
            }
        }

        [XmlElement(Order=3)]
        public PTZPresetTourStartingConditionExtension Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }

        [XmlElement(DataType="duration", Order=1)]
        public string RecurringDuration
        {
            get
            {
                return this.recurringDurationField;
            }
            set
            {
                this.recurringDurationField = value;
            }
        }

        [XmlElement(Order=0)]
        public int RecurringTime
        {
            get
            {
                return this.recurringTimeField;
            }
            set
            {
                this.recurringTimeField = value;
            }
        }

        [XmlIgnore]
        public bool RecurringTimeSpecified
        {
            get
            {
                return this.recurringTimeFieldSpecified;
            }
            set
            {
                this.recurringTimeFieldSpecified = value;
            }
        }
    }
}

